home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 24
/
AACD 24.iso
/
AACD
/
Online
/
Epic4
/
share
/
epic
/
help
/
6_functions
/
uniq
< prev
next >
Wrap
Text File
|
2001-03-21
|
594b
|
23 lines
Synopsis:
$uniq(<list of words>)
Technical:
This function takes an arbitrary list of arguments and returns all that
are unique. The output is in the same order as the input, using the
first occurrence of each word.
Practical:
This function is useful for weeding out duplicates from a list of words
(such as a list of nicknames for a tabscript).
Returns:
list of unique words from input list
Examples:
$uniq(one two three two one) returns "one two three"
$uniq(blah blah blah) returns "blah"
See Also:
remw(6); remws(6);